package cn.kbkwwk.os.global;

import cn.kbkwwk.os.controller.mainViewController;
import javafx.scene.image.Image;
import javafx.stage.Stage;

/**
 * ClassName: GlobalData
 * Package: cn.kbkwwk.os.global
 * Description:
 *
 * @Date: 2022-06-04 10:18 星期六
 * @Author: Kevin
 */
public class GlobalData {
    public static Stage mainStage;//全局窗口
    public static mainViewController myController;//主窗口对应的控制器对象
    public static Image thinkImage = new Image(GlobalData.class.getResourceAsStream("/img/think.png"));
    public static Image waitImage = new Image(GlobalData.class.getResourceAsStream("/img/wait.png"));
    public static Image eatImage = new Image(GlobalData.class.getResourceAsStream("/img/eat.png"));
    public static Image blankImage = new Image(GlobalData.class.getResourceAsStream("/img/blank.png"));
    public static Image peopleImage = new Image(GlobalData.class.getResourceAsStream("/img/people.png"));
    public static Image[] forksImage = new Image[]{
            new Image(GlobalData.class.getResourceAsStream("/img/fork0.png")),
            new Image(GlobalData.class.getResourceAsStream("/img/fork1.png")),
            new Image(GlobalData.class.getResourceAsStream("/img/fork2.png")),
            new Image(GlobalData.class.getResourceAsStream("/img/fork3.png")),
            new Image(GlobalData.class.getResourceAsStream("/img/fork4.png"))};

}
